/********************************************************************************************************
 * @file     debug.h 
 *
 * @brief    for TLSR chips
 *
 * @author	 telink
 * @date     Sep. 30, 2010
 *
 * @par      Copyright (c) 2010, Telink Semiconductor (Shanghai) Co., Ltd.
 *           All rights reserved.
 *           
 *			 The information contained herein is confidential and proprietary property of Telink 
 * 		     Semiconductor (Shanghai) Co., Ltd. and is available under the terms 
 *			 of Commercial License Agreement between Telink Semiconductor (Shanghai) 
 *			 Co., Ltd. and the licensee in separate contract or the terms described here-in. 
 *           This heading MUST NOT be removed from this file.
 *
 * 			 Licensees are granted free, non-transferable use of the information in this 
 *			 file under Mutual Non-Disclosure Agreement. NO WARRENTY of ANY KIND is provided. 
 *           
 *******************************************************************************************************/

#ifndef _DEBUG_H
#define _DEBUG_H


#if 0
#include <stdio.h>


/****************
 *  Definitions
 ****************/
/* Set values of the following to 1 to turn on debug 
 * printing for the desired code areas.
 */
#define DEBUG_APP     1     /* application debug */
#define DEBUG_CCM     0     /* ccm debug */


#if (DEBUG_APP)
#define dbgp_app(format, a...)     printf(format, ## a)
#else
#define dbgp_app(format, a...)  
#endif

#if (DEBUG_CCM)
#define dbgp_ccm(format, a...)     printf(format, ## a)
#else
#define dbgp_ccm(format, a...)  
#endif
#endif

#endif /* _DEBUG_H */

